package com.zerui.manager.web;


import com.zerui.basedata.client.dto.OrganizationTreeDTO;
import com.zerui.cola.dto.PageResponse;
import com.zerui.cola.dto.Response;
import com.zerui.cola.dto.SingleResponse;
import com.zerui.manager.web.cmd.AccessAuthOrgBindCmd;
import com.zerui.manager.web.cmd.AccessAuthOrgQryCmd;
import com.zerui.manager.web.vo.AccessAuthOrgPageVO;

import java.util.List;

/**
 * @Author wh
 * @create_time 2023-08-23 11:07
 */
public interface AccessAuthOrgService {

    SingleResponse<List<OrganizationTreeDTO>> getOrganizationTree(String orgName);

    PageResponse<AccessAuthOrgPageVO> getPageList(AccessAuthOrgQryCmd accessAuthOrgQryCmd);

    Response add(AccessAuthOrgBindCmd accessAuthOrgBindCmd);

    Response delete(AccessAuthOrgBindCmd accessAuthOrgBindCmd);
}
